'use strict';
module.exports = (sequelize, DataTypes) => {
  const Cart = sequelize.define('Cart', {
    note: DataTypes.STRING,
    current: DataTypes.STRING,
    totalPrice: DataTypes.STRING,
  }, {});
  Cart.associate = function(models) {
    // associations can be defined here
    Cart.hasMany(models.CartItem);
    Cart.belongsTo(models.User);
  };
  return Cart;
};